package wpwork.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import wpwork.base.service.SuperService;
import wpwork.base.vo.DownloadVO;
import wpwork.entity.GpsInfoEntity;
import wpwork.entity.WorkResourcesEntity;
import wpwork.model.GpsInfoVo;
import wpwork.model.GpsInfoVo2;

import java.util.Date;
import java.util.List;

public interface GpsInfoService extends SuperService<GpsInfoEntity> {

    List<GpsInfoEntity> queryGpsInfoByConditions(List<String> userId, Long startTime, Long endTime);

    IPage<GpsInfoVo> fenceQuery(String startTime, String endTime, String name, String currentPage, String pageSize);
    List<GpsInfoVo> positioningStatistics(String name);

    IPage<GpsInfoVo> getListByPerson(String startTime, String endTime, String name, String currentPage, String pageSize);
    List<GpsInfoVo2> getListByGroup(String startTime, String endTime, String name);
    DownloadVO exportExcelByPerson(String startTime, String endTime, String name);
    DownloadVO exportExcelByGroup(String startTime, String endTime);

     IPage<GpsInfoVo> getListWithJoinTable(String startTime, String endTime, String name,
                                                 String currentPage, String pageSize);


}
